RTCViewContext class Null safety

用于 RTCSurfaceView 初始化

Constructors

RTCViewContext.echoTestContext()
设置渲染通话前回路测试视频流的画布
RTCViewContext.localContext({required String uid, StreamIndex streamType = StreamIndex.main})
设置渲染本地视频的画布 [...]
RTCViewContext.publicStreamContext(String publicStreamId)
设置渲染公共视频流的画布 [...]
RTCViewContext.remoteContext({required String roomId, required String uid, StreamIndex streamType = StreamIndex.main})
设置渲染远端视频的画布 [...]

Properties

canvasType → VideoCanvasType
画布类型
final
hashCode → int
The hash code for this object. [...]
read-only, inherited
roomId → String
需要被渲染的用户所在的房间 ID
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
streamType → StreamIndex
流属性,包括主流和屏幕共享流
final
uid → String
需要被渲染的用户的 ID
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited